<?php

namespace support\Model;

use support\Backend\BackendModel;

class TaskModel extends BackendModel
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'task';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';

    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;

    public array $task_unique = [
        1 => 'lottery_short',
        2 => 'watching_short',
        3 => 'share_short',
        4 => 'subscribe_short'
    ];
}